package com.sunxu.exercise;

/**
 * ${DESCRIPTION}
 *
 * @author Sun
 * @create 2017-07-31-16:08
 */
public class Dog extends Animal {
    private String name = "Jerry";
    private double salary;

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void run() {
        System.out.println("子类在跑");
    }

}
